
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title><?php echo G_SITENAME ?></title>
        <script src="core/tpl/<?php echo G_TEMPLATE ?>/jquery-1.4.2.min.js"></script>
        <link REL="StyleSheet" type="text/css" href="core/tpl/<?php echo G_TEMPLATE ?>/site.css">
        <link REL="StyleSheet" type="text/css" href="core/tpl/<?php echo G_TEMPLATE ?>/site_3d.css">
        <link REL="StyleSheet" type="text/css" href="loginTpl/color_<?php echo G_CSS_ID ?>/clc.css">
        <link REL="StyleSheet" type="text/css" href="loginTpl/<?php echo G_BAR_Type ?>/bar.css">
        <script language="JavaScript">
            window.onbeforeunload = closeit;
            function closeit() {
                var closeEvent = false;
                if (event.clientY < 0) {
                    closeEvent = true;
                }
                if ((closeEvent)) {
                    if (window.opener == undefined) {
                        alert('logout');
                    }
                } // top.location.href = 'op.php?op=core&fp=logout'; 
            }

            function keyboardkey() {
                if (event.ctrlKey && event.keyCode == 78)
                    alert('WELCOME !');
                else if (event.shiftKey)
                    alert('WELCOME !');
            }
            if (navigator.appName.indexOf("Internet Explorer") != -1)
                document.onmousedown = noSourceExplorer;
            function noSourceExplorer() {
                if (event.button == 2 | event.button == 3) {
                    alert('WELCOME !')
                }
            }
        </script>
    </head>
    <body onmouseover="window.status = '';
                return true" onkeydown="keyboardkey()" soncontextmenu="return false" sondragstart="return false" sonselectstart="return false">
        <style>
            fieldset{width:860px;} legend , div{padding:5px;}
        </style>
        <div id="showMynews">
            <?php echo $news ?>
        </div>
        <script>
            function reMyTag(oObj)
            {
                var str = oObj.innerHTML;
                str = str.replace(/\133/g, "<strong style=color:<?php echo $color ?>;>");
                str = str.replace(/\135/g, "</strong>");
                oObj.innerHTML = str;
            }
            reMyTag(document.getElementById("showMynews"));
        </script>
    <center>
        <p class="copyright">
            <?php echo G_SITENAME ?> &copy;. All Rights Reserved.
        </p>
    </center>
</body>
</html>